package com.amsp.oa.oademo.service;

import com.amsp.oa.oademo.entity.DocumentDistribution;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface DocumentDistributionService extends IService<DocumentDistribution> {
    
    IPage<DocumentDistribution> getPage(Integer current, Integer size, String fileName, String fileNumber);
    
    DocumentDistribution getDetailById(Long id);
    
    boolean saveOrUpdateDistribution(DocumentDistribution distribution);
    
    boolean deleteById(Long id);
} 